package com.ems.pojo.user;

import com.ems.pojo.permission.Group;

public class User {
	private int id;
	private String user_id;
	private String user_name;
	private String user_password;
	private String user_nick_name;
	private String user_time;
	private String user_login_time;
	private String user_sex;
	private String user_email;
	private int user_group_type;

	private Group group;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_password() {
		return user_password;
	}

	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}

	public String getUser_nick_name() {
		return user_nick_name;
	}

	public void setUser_nick_name(String user_nick_name) {
		this.user_nick_name = user_nick_name;
	}

	public String getUser_time() {
		return user_time;
	}

	public void setUser_time(String user_time) {
		this.user_time = user_time;
	}

	public String getUser_login_time() {
		return user_login_time;
	}

	public void setUser_login_time(String user_login_time) {
		this.user_login_time = user_login_time;
	}

	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public String getUser_sex() {
		return user_sex;
	}

	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}

	public String getUser_email() {
		return user_email;
	}

	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}

	public int getUser_group_type() {
		return user_group_type;
	}

	public void setUser_group_type(int user_group_type) {
		this.user_group_type = user_group_type;
	}

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", user_id='" + user_id + '\'' +
				", user_name='" + user_name + '\'' +
				", user_password='" + user_password + '\'' +
				", user_nick_name='" + user_nick_name + '\'' +
				", user_time='" + user_time + '\'' +
				", user_login_time='" + user_login_time + '\'' +
				", user_sex='" + user_sex + '\'' +
				", user_email='" + user_email + '\'' +
				", user_group_type=" + user_group_type +
				", group=" + group +
				'}';
	}
}
